package o.gwtp.editor.client.gin;

import o.gwtp.editor.client.main.MainPresenter;
import o.gwtp.editor.client.welcome.WelcomePresenter;

import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.inject.Provider;
import com.gwtplatform.mvp.client.EventBus;
import com.gwtplatform.mvp.client.proxy.PlaceManager;
import com.gwtplatform.mvp.client.proxy.ProxyFailureHandler;

/**
 * @author Olivier Monaco
 * @author Christian Goudreau
 */
@GinModules(EditorModule.class)
public interface EditorGinjector extends Ginjector {
  public EventBus getEventBus();

  public Provider<MainPresenter> getMainPresenter();

  public PlaceManager getPlaceManager();

  public ProxyFailureHandler getProxyFailureHandler();

  public Provider<WelcomePresenter> getWelcomePresenter();
}
